package com.ruoyi.business.domain;

import com.mybatisflex.annotation.*;
import lombok.*;

import javax.validation.constraints.*;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据实体 : 银行信息
 *
 * @Author : ljq
 * @Created : 2025/10/4
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table("t_bank")
public class Bank extends BaseEntity {


    @Id(keyType = KeyType.Auto)
    private Long id;

    /// 银行编码
    @Size(min = 0, max = 10, message = "银行编码长度不能超过10个字符")
    private String bankCode;

    /// 银行名称
    @Size(min = 0, max = 50, message = "银行名称长度不能超过50个字符")
    private String bankName;

    /// 银行简称
    @Size(min = 0, max = 20, message = "银行简称长度不能超过20个字符")
    private String bankShortName;

    /// 银行logo URL
    @Size(min = 0, max = 255, message = "银行logo长度不能超过255个字符")
    private String bankLogo;

    /// 客服电话
    @Size(min = 0, max = 20, message = "客服电话长度不能超过20个字符")
    private String customerServicePhone;

    /// 官方网站
    @Size(min = 0, max = 100, message = "官方网站长度不能超过100个字符")
    private String website;

    /// 状态
    @Size(min = 0, max = 1, message = "状态长度不能超过1个字符")
    private String status;


}